#pragma once
//using namespace Gdiplus;

class BackBuffer
{
	//static HBITMAP BBB; 
public:
	UINT Width;
	UINT Height;
	HDC BackBufferDC;
	HDC EmptyDC;
	HWND hWnd;
public:
	void ReCreateBackBuffer(HWND hWnd_i);
	void Cleanup();
	HDC CreateBBDC();
	void DeleteBBDC(HDC& hdc_io);
	void ResetBBDC(HDC hdc_i);
	void ResetMemDC();
	BackBuffer();
};